﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <link href="/Scripts/bootstrap-3.3.5-dist/css/bootstrap.min.css" rel="stylesheet" />
    <script src="/Scripts/jquery-1.12.1.min.js"></script>
    <script src="/Scripts/jquery.page.js"></script>
    <script src="/Scripts/layer/layer.js"></script>
    <script src="/Scripts/arttemplate.js"></script>
    <script src="/Scripts/base.js"></script>
    <script src="/Scripts/common.js"></script>
    <style type="text/css">
        body, div {
            margin: 0px auto;
            padding: 0px;
        }
    </style>
    <style>
        .tcdPageCode {
            padding: 15px 20px;
            text-align: left;
            color: #ccc;
        }

            .tcdPageCode a {
                display: inline-block;
                color: #428bca;
                display: inline-block;
                height: 25px;
                line-height: 25px;
                padding: 0 10px;
                border: 1px solid #ddd;
                margin: 0 2px;
                border-radius: 4px;
                vertical-align: middle;
            }

                .tcdPageCode a:hover {
                    text-decoration: none;
                    border: 1px solid #428bca;
                }

            .tcdPageCode span.current {
                display: inline-block;
                height: 25px;
                line-height: 25px;
                padding: 0 10px;
                margin: 0 2px;
                color: #fff;
                background-color: #428bca;
                border: 1px solid #428bca;
                border-radius: 4px;
                vertical-align: middle;
            }

            .tcdPageCode span.disabled {
                display: inline-block;
                height: 25px;
                line-height: 25px;
                padding: 0 10px;
                margin: 0 2px;
                color: #bfbfbf;
                background: #f2f2f2;
                border: 1px solid #bfbfbf;
                border-radius: 4px;
                vertical-align: middle;
            }
    </style>
</head>
<body>
    <nav class="navbar navbar-default">
        <div class="container" style="width:58%;">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/Home/Index">CRM 系统管理</a>
            </div>
        </div>
    </nav>
    <div style="width:1124px;">
        <div class="panel panel-default" style="width:20%; height:500px; text-align:center; float:left;">
            <div class="panel-heading">
                <h3 class="panel-title">菜单</h3>
            </div>
            <div class="panel-body">
                <div class="list-group">
                    <a href="javascrpit:void(0)" class="list-group-item active">栏目</a>
                    <a href="/Column/List" class="list-group-item">列表</a>
                    <a href="/Column/Add" class="list-group-item">新增</a>
                </div>
                <div class="list-group">
                    <a href="javascrpit:void(0)" class="list-group-item active">产品</a>
                    <a href="/News/List" class="list-group-item">列表</a>
                    <a href="/News/Add" class="list-group-item">新增</a>
                </div>
                <div class="list-group">
                    <a href="javascrpit:void(0)" class="list-group-item active">新闻</a>
                    <a href="/News1/List" class="list-group-item">列表</a>
                    <a href="/News1/Add" class="list-group-item">新增</a>
                </div>
            </div>
        </div>
        <div class="panel panel-default" style="width: 78%; min-height:500px; float: left; margin-left: 20px; border: 1px solid #ddd;">
            <div class="panel-heading">
                <h3 class="panel-title">@ViewBag.Title</h3>
            </div>
            <div class="panel-body">
                @RenderBody()
            </div>
        </div>
        <div style="clear:both;"></div>
    </div>
</body>
</html>
